package nobu.nakata.nfcfare.table;

import java.io.Serializable;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;


@PersistenceCapable(detachable="true")
public class BusStation implements Serializable, ILongKeyEntity {
	@PrimaryKey
	@Persistent
	private Long busCode;
	@Persistent
	private String name;
	
	public BusStation(Long busCode, String name) {
		this.busCode		= busCode;
		this.name			= name;				
	}
	
	public Long getKey() { return busCode; }
	public Long getBusCode() { return busCode; }
	public String getName() { return name; }
	/**
	 * 
	 */
	private static final long serialVersionUID = 4736803273880095178L;
}
